import Vue from 'vue'
import App from './App'
import store from './store'
import uView from 'uview-ui'
import request from './utils/request'

Vue.config.productionTip = false

App.mpType = 'app'

// 引入uView UI
Vue.use(uView)

// 挂载Vuex
Vue.prototype.$store = store

// 挂载请求工具
Vue.prototype.$http = request

const app = new Vue({
  store,
  ...App
})
app.$mount() 